/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.PassengerState;

public interface PassengerStateDao extends Dao {

    /**
     * Retrieves all of the passengerStates
     */
    public List getPassengerStates(PassengerState passengerState);

    /**
     * Gets passengerState's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the passengerState's id
     * @return passengerState populated passengerState object
     */
    public PassengerState getPassengerState(final Integer id);

    /**
     * Saves a passengerState's information
     * @param passengerState the object to be saved
     */    
    public void savePassengerState(PassengerState passengerState);

    /**
     * Removes a passengerState from the database by id
     * @param id the passengerState's id
     */
    public void removePassengerState(PassengerState passengerState);
}

